<?php
/*
Template Name: Les Belges
*/
?>
<?php get_header(); ?>
<div class="main page">
  <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
      <div class="post">
        <h1 class="post-title"><?php the_title(); ?></h1>
        <div class="post-content">
          <p>Nombre de Posts : <strong><?php echo wp_count_posts()->publish; ?></strong></p>
          <p>Nombre de Pages : <strong><?php echo wp_count_posts('page')->publish; ?></strong></p>
          <p>Nombre de commentaires publiés : <strong><?php echo wp_count_comments()->approved; ?></strong></p>
        </div>
      </div>
    <?php endwhile; ?>
  <?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>